/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DigimonAdventure.Database;

import javax.swing.ImageIcon;

/**
 *
 * @author Benz Louis
 */
public enum Boost implements Sellable{
	//identifier (name ,modV, modS, modR, modA, price)
	//modifier bukan persen namun nilai
	//identifier adalah nama program buat si item
	//name adalah nama alias yang bakal terbaca di sistem ntar
	//modV berarti nambahin vitality (convert ke HP), modS nambahin strength (convert ke attack), dst
	//price berarti harga beli di shop (harga jual = harga beli/2)

	None ("-Empty Slot-",0,0,0,0,0,"This slot is empty...","N/A","/DigimonAdventure/Graphics/Bst.gif"),

	/**SBst - Standard Booster, +Agi only*/
	SBst1 ("Winged Boots",0,0,0,30,150,"Maybe you'll run faster with these. Maybe...","Slightly increases Agility","/DigimonAdventure/Graphics/Bst.gif"),
	SBst2 ("Jet Packs",0,0,0,100,700,"Allows you to jet around at high speed. Be careful...","Increases Agility","/DigimonAdventure/Graphics/Bst.gif"),
	SBst3 ("Teleporter",0,0,0,300,3000,"It allows you to teleport around. Don't ask how","Greatly increases Agility","/DigimonAdventure/Graphics/Bst.gif"),

	/**WBst - Weaponlike Booster, +Agi & Str*/
	WBst1 ("Blade Wings",0,20,0,30,200,"How do you even fly with these? But it works!","Slightly increases Agility & Attack","/DigimonAdventure/Graphics/WBst.gif"),
	WBst2 ("Flamewings",0,50,0,100,1000,"The wings of flame shall incinerate those who come too close","Increases Agility & Attack","/DigimonAdventure/Graphics/WBst.gif"),
	WBst3 ("Wings of Ardent",0,150,0,300,5000,"The legendary angel of war Ardent resides in these wings","Greatly increases Agility & Attack","/DigimonAdventure/Graphics/WBst.gif"),

	/**VBst - Vitality Booster, +Agi & Vit*/
	VBst1 ("Jade Winged Boots",30,0,0,30,200,"Boots made to improve speed and vitality","Slightly increases Agility & HP","/DigimonAdventure/Graphics/VBst.gif"),
	VBst2 ("Aegentine Wings",100,0,0,100,1000,"Untouchable or indestructible, which do you choose? Both!","Increases Agility & HP","/DigimonAdventure/Graphics/VBst.gif"),
	VBst3 ("Celestine's Blessing",300,0,0,300,5000,"Nothing shall harm those who hath received this blessing","Greatly increases Agility & HP","/DigimonAdventure/Graphics/VBst.gif"),

	/**DBst - Defensive Booster, +Agi & Res*/
	DBst1 ("Elmekian Boots",0,0,20,30,200,"Taste the speed and resilience of the Elmekian!","Slightly increases Agility & Defense","/DigimonAdventure/Graphics/DBst.gif"),
	DBst2 ("Adamantine Winged Robe",0,0,50,100,1000,"This robe offers both speed and defense","Increases Agility & Defense","/DigimonAdventure/Graphics/DBst.gif"),
	DBst3 ("Wings of the Guardian",0,0,150,300,5000,"The bearer of these wings shall not come to harm","Greatly increases Agility & Defense","/DigimonAdventure/Graphics/DBst.gif"),

	/**ABst - Advanced Booster, ++Agi*/
	ABst1 ("Wings of Light",0,0,0,50,200,"Makes you blindingly fast","Increases Agility","/DigimonAdventure/Graphics/ABst.gif"),
	ABst2 ("Chrono Cross",0,0,0,200,1000,"It'll make you VERY fast, as if you could bend time","Majorly increases Agility","/DigimonAdventure/Graphics/ABst.gif"),
	ABst3 ("Hyper Drive",0,0,0,700,5000,"Light might not be the fastest thing anymore...","Extremely increases Agility","/DigimonAdventure/Graphics/ABst.gif");

	private String name;
	private int modV;
	private int modS;
	private int modR;
	private int modA;
	private int price;
    private String desc;
    private String val;
    private String imageLoc;
    private ImageIcon icon;

    Boost(String name,int modV,int modS,int modR,int modA,int price, String desc, String val, String imageLoc){
		this.name = name;
		this.modV = modV;
		this.modS = modS;
		this.modR = modR;
		this.modA = modA;
        this.price = price;
        this.desc = desc;
        this.val = val;
        this.imageLoc = imageLoc;
	}
	//kasih getter juga
	public String getName(){
		return name;
	}
	public int getModV() {
		return modV;
	}
	public int getModS() {
		return modS;
	}
	public int getModR() {
		return modR;
	}
	public int getModA() {
		return modA;
	}
    public int getPrice() {
        return price;
    }
    public String getDesc(){
        return desc;
    }
    public String getVal(){
        return val;
    }
    public String getImageLocation(){
        return imageLoc;
    }
    public ImageIcon getIcon(){
        return new ImageIcon(getClass().getResource(this.imageLoc));
    }
}
